//
// Created by lenovo on 2024/1/12.
//

#ifndef CALCULATOR_CONVERTER_H
#define CALCULATOR_CONVERTER_H

template <typename _Res , typename _Tat>
class Converter{
protected:
    _Res src ;
public :
    Converter() = default ;
    explicit Converter(_Res res) : src(res) {}
    virtual _Tat result() = 0;
};

#endif //CALCULATOR_CONVERTER_H
